#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<stdbool.h>

typedef int HPDataType;

typedef struct Heap
{
	HPDataType* x;
	int size;
	int capacity;
}Hp;

void HeapInit(Hp* php);
void HeapDestory(Hp* php);
void HeapPush(Hp* php,HPDataType x);
void HeapPop(Hp* php);
